package com.example.main;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Main01 {
    public static void main(String[] args) {
        String head="ID,NAME,AGE,ADDRESS,V0,V1,V2,V3,V4,V5,V6,V7";
        String a=",,,ds,dds,,,dd,,,,";
        Map<String, String> map=new HashMap();
        String[] headers = head.split(",");
        StringBuilder sb=new StringBuilder();
        int j=0;
        for (int i = 0; i < a.length(); i++) {
            char ch = a.charAt(i);
            if (ch == 44){
                   map.put(headers[j++].toLowerCase(),sb.toString());
                   sb=new StringBuilder();
                   continue;
                }
                sb.append(ch);
        }
        String[] split = a.split(",");
        System.out.println();
    }
}

